package com.biboheart.adapter.compiler.enums;

import lombok.Getter;

@Getter
public enum TokenState {
    STATE_ERROR(-1, "错误"),
    STATE_INIT(0, "开始"),
    STATE_CONTINUE(1, "继续"),
    STATE_END(5, "完成"),
    STATE_END_BACK(6, "完成且未使用"),
    STATE_FAIL(9, "失败"),
    ;
    private final int code;
    private final String desc;

    TokenState(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
